
import React, { useState } from '../react/react.development.js'
function App() {
  const [num, setNum] = useState(0)
  return (
    <div
      style={{ width: 100, height: 100, border: '2px solid' }}
      onClick={() => setNum((n) =>
        ++n)} >
      {num}
    </div>
  );
}

export default App;
